<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表单</title>
</head>
<body>
    <form action="#" method="get">
        <table width="500px" height="500px" cellspacing="0" align="center" style="background-color: pink;">
            <caption><h1>郭炳强注册信息</h1></caption>
            <tr>
                <td>用户名:</td>
                <td>
                    <input type="text" name="txtUsername" id="txt1">
                </td>
            </tr>
            <tr>
                <td>密码:</td>
                <td>
                    <input type="password" name="txtPassword" id="txt2">
                </td>
            </tr>
            <tr>
                <td>性别:</td>
                <td>
                    <input type="radio" name="rdoSex" id="rdo1" checked>男 
                    <input type="radio" name="rdoSex" id="rdo2">女
                </td>
            </tr>
            <tr>
                <td>头像</td>
                <td>
                    <input type="radio" name="rdoPet" id="rdo3">
                    <img src="p.jpg" alt="头像1" width="200px" height="200px">
                    <input type="radio" name="rdoPet" id="rdo4">
                    <img src="p1.jpg" alt="头像1" width="200px" height="200px">
                    <input type="radio" name="rdoPet" id="rdo5">
                    <img src="p2.jpg" alt="头像1" width="200px" height="200px">
                    <input type="radio" name="rdoPet" id="rdo6">
                    <img src="p3.jpg" alt="头像1" width="200px" height="200px">
                </td>
            </tr>
            <tr>
                <td>上传头像</td>
                <td>
                    <input type="file">
                </td>
            </tr>
            <tr>
                <td>爱好</td>
                <td><input type="checkbox" name="chkHobby" id="h1">唱歌 
                    <input type="checkbox" name="chkHobby" id="h2">玩游戏
                    <input type="checkbox" name="chkHobby" id="h3">敲代码
                    <input type="checkbox" name="chkHobby" id="h4">睡觉
                    <input type="checkbox" name="chkHobby" id="h5">跳舞
                    <input type="checkbox" name="chkHobby" id="h6">打篮球
                    <input type="checkbox" name="chkHobby" id="h7">rap
                </td>
            </tr>
            <tr>
                <td>学历</td>
                <td>
                    <select name="selEducation" id="sel1">
                        <option value="1">博士研究生</option>
                        <option value="2">硕士研究生</option>
                        <option value="3">本科</option>
                        <option value="4">专科</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>备注</td>
                <td>
                    <textarea name="txtnode" id="node1"></textarea>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <input type="checkbox" name="chksec" id="sec1">请不要公开我的信息
                </td>

            </tr>
            <!--最后一行-->
            <tr align="center">
                <td colspan="2">
                    <input type="submit">
                    <input type="reset">
                </td>
            
            </tr>
        </table>
    </form>
</body>
</html>